package com.bootdo.xiao.suggest;

/**
 * @Auther: liuj
 * @Date: 2019/5/22 17:03
 * @Description:三元操作符的类型务必一致
 */
public class Suggest3 {
    public static void main(String[] args){
        int i = 90;
        String s = String.valueOf(i<100 ? 90 : 100);
        //
        String s2 = String.valueOf(i<100 ? 90 : 100.0);

        System.out.println(s.equals(s2));
    }
}
